<template>
	<view>
		<web-view  ref="webview" @onPostMessage="message"
		style="height: 0px;width: 0px;"
			src="../../../hybrid/html/index.html"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			}
		},
		onLoad() {

		},
		methods: {
			clickfun(){
				this.$refs.webview.evalJs("document.getElementById('upfile').click()");
			},
			message(e) {
				console.log(666, e.detail.data[0])
				this.img= e.detail.data[0].action
				this.$emit('Onchange',e.detail.data[0].action)
			
			},
	
		}
	}
</script>

<style>

</style>
